//
//  PromptionTableViewCell.m
//  MobileOffice
//
//  Created by jjkj on 16/10/19.
//  Copyright © 2016年 liaoningjujin. All rights reserved.
//

#import "PromptionTableViewCell.h"

@implementation PromptionTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        _titleLabel=[MyControl creatLabelWithFrame:CGRectMake(8, 15, IPHONE_WIDTH-100, 20) text:@""];
        [self.contentView addSubview:_titleLabel];
        
        _switchView=[[UISwitch alloc]initWithFrame:CGRectMake(IPHONE_WIDTH-70, 8, 70, 1)];
        [self.contentView addSubview:_switchView];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
